public class Action {

	public static Action NO_ACTION = new Action("NO_ACTION",
			MapObjectType.NO_OBJECT, 0);

	private String name;

	private MapObjectType evokerType;

	private long evokerId;

	private Direction direction;
	
	private long targetId;

	public Action(String n, MapObjectType wot, long id) {
		setName(n);
		setEvokerType(wot);
		setEvokerId(id);
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public MapObjectType getEvokerType() {
		return evokerType;
	}

	public void setEvokerType(MapObjectType evokerType) {
		this.evokerType = evokerType;
	}

	public long getEvokerId() {
		return evokerId;
	}

	public void setEvokerId(long evokerId) {
		this.evokerId = evokerId;
	}

	public Direction getDirection() {
		return direction;
	}

	public void setDirection(Direction direction) {
		this.direction = direction;
	}

	public long getTargetId() {
		return targetId;
	}

	public void setTargetId(long targetId) {
		this.targetId = targetId;
	}

	@Override
	public String toString() {
		return "name : " + getName() + ", type : " + getEvokerType()
				+ ", id : " + getEvokerId() + ", direction : " + getDirection() + 
				", targetId : " + getTargetId();
	}

	public void print() {
		System.out.println(toString());
	}
}
